<?php
class Mock_Q_Rule extends Q_Rule_Abstract {

    protected $_params = array (
        'field' => '',
        'return' => false,
    );
    
    public function isValid($value) {
    
        return $this->_params['return'];
    
    }

}